package com.lyf.scm.plan.api.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.lyf.scm.common.enums.BaseOtherTargetEnum;
import com.lyf.scm.common.util.BaseOtherTargetEnumConverter;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 其它指标返回结果(图表)
 *
 * @author wangchlei
 * @date 2020/11/12
 */
@Data
public class OtherTargetEchartResultDTO {
    /**
     * 指标枚举值
     */
    @JsonDeserialize(using = BaseOtherTargetEnumConverter.class)
    private BaseOtherTargetEnum otherTargetsEnum;
    /**
     * 结果集
     */
    private List<BigDecimal> result;
}
